#my-tab {
    width: 500px;
    height: 500px;
    border: 1px solid #000;
    margin: 50px auto;
}

.tab-wrapper {
    height: 50px;
    border-bottom: 1px solid #000;
}

.tab-item {
    float: left;
    width: 33.33%;
    height: 50px;
    line-height: 50px;
    text-align: center;
    user-select: none;
}

.tab-item.current {
    background-color: #000;
    color: #fff;
}

.page-wrapper {
    height: 450px;
    position: relative;
}

.page-item {
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    width: 100%;
    line-height: 450px;
    text-align: center;
}

.page-item.current {
    display: block;
}